package com.cnd.scm.common.inner.auth.details;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.security.oauth2.provider.client.BaseClientDetails;

import java.io.Serializable;

/**
 * @version V1.0
 * @ClassName: DefaultClientDetails
 * @Description:TODO()
 * @author: 李启联
 * @date: 2020-01-17 10:44
 * @Copyright: Copyright (c), 2020
 * 申明：本内容未经授权,禁止外泄以及用于其他的商业项目.
 */
@AllArgsConstructor
@Data
public class DefaultClientDetails extends BaseClientDetails implements Serializable {
    //限流标识
    private long if_limit ;
    //限流次数
    private long limit_count ;


    public DefaultClientDetails(String clientId, String resourceIds,
                                String scopes, String grantTypes, String authorities,
                                String redirectUris) {
        super( clientId, resourceIds, scopes, grantTypes, authorities, redirectUris);
    }
}